package lng.site.balafon.model;

import java.util.List;
import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Column;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.JoinColumns;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Transient;
import javax.persistence.Embeddable;

/**
 * <p>Pojo mapping TABLE page</p>
 * <p></p>
 *
 * <p>Generated at Thu Aug 02 21:53:17 CEST 2012</p>
 * @author Salto-db Generator v1.0.16 / EJB3
 * 
 */
@Entity
@Table(name = "page", catalog = "balafon2")
@SuppressWarnings("serial")
public class Page implements Serializable {

	/**
	 * Attribute idPage.
	 */
	private Integer idPage;
	
	/**
	 * Attribute titrePage.
	 */
	private String titrePage;
	
	/**
	 * Attribute wikiIdwiki.
	 */
	private Integer wikiIdwiki;
	
	
	/**
	 * <p> 
	 * </p>
	 * @return idPage
	 */
	@Basic
	@Id
	@GeneratedValue
	@Column(name = "id_page")
		public Integer getIdPage() {
		return idPage;
	}

	/**
	 * @param idPage new value for idPage 
	 */
	public void setIdPage(Integer idPage) {
		this.idPage = idPage;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return titrePage
	 */
	@Basic
	@Column(name = "titre_page", length = 255)
		public String getTitrePage() {
		return titrePage;
	}

	/**
	 * @param titrePage new value for titrePage 
	 */
	public void setTitrePage(String titrePage) {
		this.titrePage = titrePage;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return wikiIdwiki
	 */
	@Basic
	@Column(name = "wiki_idwiki")
		public Integer getWikiIdwiki() {
		return wikiIdwiki;
	}

	/**
	 * @param wikiIdwiki new value for wikiIdwiki 
	 */
	public void setWikiIdwiki(Integer wikiIdwiki) {
		this.wikiIdwiki = wikiIdwiki;
	}
	


}